﻿namespace CSharpPro._1020;
/*
public class Sort(int[] a)
{
    public static void Main(string[] args)
    {
        int a = int.Parse(Console.ReadLine());
        int[] arr = new int[a];
        for (int i = 0; i < arr.Length; i++)
        {
            arr[i] = int.Parse(Console.ReadLine());
        }

        int temp;
        for (int i = 0; i < arr.Length - 1; i++)
        {
            for (int j = 0; j < arr.Length - i - 1; j++)
            {
                if (arr[j] > arr[j + 1])
                {
                    temp = arr[j];
                    arr[j] = arr[j + 1];
                    arr[j + 1] = temp;
                }
            }
        }
    }
}*/